﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Kmust
{
    /// <summary>
    /// AddDeviceWindow.xaml 的交互逻辑
    /// </summary>
    public partial class ManagerDeviceWindow : System.Windows.Window
    {
        public ManagerDeviceWindow()
        {
            InitializeComponent();
            OrgCtrol.EventCode += OrgCtrol_EventCode;
            RooCtrol.ChangeCode += RooCtrol_ChangeCode;
        }

        void RooCtrol_ChangeCode(object send, object e)
        {
            //throw new NotImplementedException();
            DevCtrol.setSource = (string)e;
        }

       

        void OrgCtrol_EventCode(object send, object e)
        {
            //throw new NotImplementedException();
            RooCtrol.setSource = (string)e;
        }
    }
}
